﻿/*
------------------------------------
    Rodeo Game Engine

    Rodeo IO Module
    FileASE.h - header file

    Copyright(c) Marcin Goryca
-------------------------------------
*/
#ifndef RODEO_IO_FILEASE_H_
#define RODEO_IO_FILEASE_H_

#ifndef RODEO_CORE_CONSTANTS_H_
#include "core\constants.h"
#endif    //RODEO_CORE_CONSTANTS_H_

#ifndef RODEO_CORE_ERROR_H_
#include "core\error.h"
#endif    //RODEO_CORE_ERROR_H_

#ifndef RODEO_ENTITY_MESH_H_
#include "entity\mesh.h"
#endif    //RODEO_ENTITY_MESH_H_

#ifndef RODEO_IO_LOG_H_
#include "io\log.h"
#endif    //RODEO_IO_LOG_H_

#ifndef RODEO_IO_IMPORTER_H_
#include "io\importer.h"
#endif    //RODEO_IO_IMPORTER_H_

namespace rodeoio
{
class FileASE : public Importer
{
public:
    FileASE(){}
    ~FileASE(){}
    bool import(const char* filename);
    void release();
    static const int MAX_BUFFER = 5000;
    char buffer_[MAX_BUFFER];

//==== MEMBERS ====//
private:
    static const char* const ASE_STRING;
    static const char* const SCENE_STRING;
    
    HANDLE file_;
};
}    //end of rodeoio namespace
#endif    //RODEO_IO_FILEASE_H_